//
//  DateDetailView.m
//  lvtu
//
//  Created by Apple on 12-3-20.
//  Copyright (c) 2012年 __MyCompanyName__. All rights reserved.
//

#import "DateDetailView.h"

@implementation DateDetailView
@synthesize dateLabel;
@synthesize detailLabel;

- (id)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        // Initialization code
        self.image = [UIImage imageNamed:@"bg_date.png"];
        dateLabel = [[UILabel alloc] initWithFrame:CGRectMake(20, 0, 80, 23)];
        detailLabel = [[UILabel alloc] initWithFrame:CGRectMake(130, 0, 120, 23)];
        [self addSubview:dateLabel];
        [self addSubview:detailLabel];
    }
    return self;
}

- (void)dealloc {
    [dateLabel release];
    [detailLabel release];
    [super dealloc];
}
/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect
{
    // Drawing code
}
*/

@end
